package com.zy.pay.api.request;

import com.alibaba.fastjson.annotation.JSONField;
import com.zy.pay.api.enums.ZyPayApiEnum;
import com.zy.pay.api.response.ZyPayOrderRefundQueryResponse;

/**
 * 退款订单查询请求参数 <br>
 *
 * @author panweiqiang <br>
 * @date 2020/7/7 9:27 <br>
 */
public class ZyPayOrderRefundQueryRequest extends ZyPayRequest<ZyPayOrderRefundQueryResponse> {

    @Override
    public Class<ZyPayOrderRefundQueryResponse> getResponseClass() {
        return ZyPayOrderRefundQueryResponse.class;
    }

    @Override
    public ZyPayApiEnum getApiEnum() {
        return ZyPayApiEnum.ORDER_REFUND_QUERY;
    }

    /**
     * 商户退款订单号
     */
    @JSONField(name = "cp_refund_tran_no")
    private String cpRefundTranNo;

    /**
     * 商户订单提交时间,精确到秒，格式：yyyyMMddHHmmss
     */
    @JSONField(name = "time")
    private String time;

    public String getCpRefundTranNo() {
        return cpRefundTranNo;
    }

    public void setCpRefundTranNo(String cpRefundTranNo) {
        this.cpRefundTranNo = cpRefundTranNo;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
